import { createMemoryHistory, createRouter } from 'vue-router'

import HomeView from '../views/Home.vue'
import AboutView from '../views/AboutPage.vue'
// import DeviceStatusView from '../views/DeviceStatusPage.vue'

const routes = [
  {
    path: '/',
    component: HomeView
  },
  {
    path: '/about',
    component: AboutView
  },
  // {
  //   path: '/device',
  //   component: DeviceStatusView
  // },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})


export default router
